package nc.ui.xew.drillacceptance1;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.xew.proaccept.AggProacceptTVO;
import nc.vo.xew.proaccept.ProAcceptB2VO;
import nc.vo.xew.proaccept.ProAcceptBVO;
import nc.vo.xew.proaccept.ProAcceptVO;
import nc.vo.xew.pub.XewPuBtnConst;
import nc.vo.xew.pub.Xewpubconst;
import nc.vo.zmpub.pub.consts.ZmpubBtnConst;

public class Controller extends AbstractManageController{

	public String[] getCardBodyHideCol() {
		return null;
	}

	public int[] getCardButtonAry() {
		return  new int[] {
//				IBillButton.Add,
//				IBillButton.Edit,
//				IBillButton.Query,
//				//ICaBillButton.cal,
//				IBillButton.Line,
//				IBillButton.Save,
//				IBillButton.Cancel,	
//				IBillButton.Commit,
//				IBillButton.Action,	
//				IBillButton.Delete,			
////				IBillButton.Line,
//				IBillButton.Brow,
//				IBillButton.Refresh,			 
    			IBillButton.Return,
//				XewPuBtnConst.cs,
//				XewPuBtnConst.bg,
//			//	XewPuBtnConst.qxbg,
//				ZmpubBtnConst.ASSPRINT,
//				ZmpubBtnConst.ASSQUERY,
//				XewPuBtnConst.clmx,
		};
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return true;
	}

	public String getBillType() {
		return Xewpubconst.bill_code_drillacceptance1;
	}

	public String[] getBillVoName() {
		return new String[]{ 
				AggProacceptTVO.class.getName(),
				ProAcceptVO.class.getName(),
				ProAcceptBVO.class.getName(),
				ProAcceptB2VO.class.getName()};
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.PLATFORM;
	}

	public String getChildPkField() {
		return "pk_proaccept_b";
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return "pk_proaccept";
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return true;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public int[] getListButtonAry() {
		return new int[] {
//				IBillButton.Add,
//				IBillButton.Edit,
				IBillButton.Query,
		//		ICaBillButton.cal,
//				IBillButton.Save,
//				IBillButton.Cancel,	
//				IBillButton.Commit,
//				IBillButton.Action,	
//				IBillButton.Delete,			
//				IBillButton.Line,
//				IBillButton.Brow,
//				IBillButton.Refresh,			 
//				IBillButton.Card,
//				XewPuBtnConst.bg,
				XewPuBtnConst.cs,
				XewPuBtnConst.cbcs1,
	//			XewPuBtnConst.qxbg,
				ZmpubBtnConst.ASSPRINT,
				ZmpubBtnConst.ASSQUERY,
	//			XewPuBtnConst.clmx,
		  };
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public boolean isShowListTotal() {
		return true;
	}

}
